package demoMod.invincibleOne.patches;

import com.evacipated.cardcrawl.modthespire.lib.SpirePatch;
import com.evacipated.cardcrawl.modthespire.lib.SpireReturn;
import com.megacrit.cardcrawl.dungeons.AbstractDungeon;
import com.megacrit.cardcrawl.powers.MalleablePower;
import demoMod.invincibleOne.cards.invincible.BattleYoga;

public class MalleablePowerPatch {
//    @SpirePatch(
//            clz = MalleablePower.class,
//            method = "atEndOfTurn"
//    )
//    public static class PatchAtEndOfTurn {
//        public static SpireReturn<Void> Prefix(MalleablePower power, boolean isPlayer) {
//            if (!power.owner.isPlayer && AbstractDungeon.player.masterDeck.group.stream().anyMatch(c -> c.cardID.equals(BattleYoga.ID))) {
//                return SpireReturn.Return(null);
//            }
//            return SpireReturn.Continue();
//        }
//    }
}
